"""
    create by IAmFiveHigh on 2023/9/4
"""

from loop_queue import LoopQueue
from link_list_queue import LinkListQueue

print("-" * 10, "ArrayQueue", "-" * 10)

q = LoopQueue()
for i in range(15):
    q.enqueue(i)

q.detail()

for i in range(10):
    q.dequeue()
    print(q)
    q.detail()

print("-" * 10, "LinkListQueue", "-" * 10)

q2 = LinkListQueue()
for i in range(15):
    q2.enqueue(i)
    print(q2)

for i in range(10):
    q2.dequeue()
    print(q2)







